package com.hh.eduorder.service.client;

import com.hh.vo.CourseVoGloabl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-edu")
public interface CourseClient {
    @GetMapping("/eduservice/edu_course/getCourseByIdFeign/{id}")
    public CourseVoGloabl getCourseByIdFeign(@PathVariable("id") String id);
}
